\begin{tikzpicture} [every node/.style={anchor=south,,inner sep=0}]
	\node (VALL-stack){
		\begin{tabular}{|C{4em}|}
			\hline
			\color{blue} R \\ 
			\color{blue} 活动记录 \\ 
			\hline
			\color{blue} Q \\
			\color{blue} 活动记录 \\ 
			\hline
			\color{blue} S \\ 
			\color{blue} 活动记录 \\ 
			\hline
			\color{blue} P \\ 
			\color{blue} 活动记录 \\ 
			\hline
	\end{tabular}};	
	\node [below=0.5em of VALL-stack] {活动记录栈};

	\node at ([xshift=6em,yshift=-10em]VALL-stack.east) (VALL-R) {
		\begin{tabular}{|C{5.4em}|C{1.1em}|}
			\hline
			& \color{red} $d$ \\ 
            \hline
			局部变量 & \color{red} $c$\\ 
			\hline
            & \color{red} 41 \\
            \hline
			& \color{red} 27 \\ 
			\hline
			Display表 & \color{red} 0\\ 
            \hline
			& \color{red} $v$\\ 
			\hline
			形式单元 & \color{red} $u$\\ 
            \hline
			参数个数 & \color{red} 2\\ 
			\hline
			全局Display & \color{red} 35\\
            \hline
			返回地址 & \color{red} \\ 
			\hline
			Old SP & \color{red}  27\\ 
			\hline
	\end{tabular}};	
	\node [below=0.5em of VALL-R] {R的活动记录(2层)};
	
    \node at ([xshift=6em,yshift=-5em]VALL-R.east) (VALL-Q) {
		\begin{tabular}{|C{5.4em}|C{1em}|}
			\hline
			局部变量 & \color{red} $i$\\ 
            \hline
            & \color{red} 27 \\ 
			\hline
			Display表 & \color{red} 0\\ 
            \hline
			形式单元 & \color{red} $b$\\ 
            \hline
			参数个数 & \color{red} 1\\ 
			\hline
			全局Display & \color{red} 17\\
            \hline
			返回地址 & \color{red} \\ 
			\hline
			Old SP & \color{red} 13\\ 
			\hline
	\end{tabular}};	
	\node [below=0.5em of VALL-Q] {Q的活动记录(1层)};

    \node at ([xshift=6em,yshift=-7em]VALL-Q.east) (VALL-S) {
		\begin{tabular}{|C{5.4em}|C{1em}|}
			\hline
            & \color{red} $i$\\
            \hline
			局部变量 & \color{red} $c$\\ 
            \hline
            & \color{red} 13 \\ 
            \hline
            Display表 & \color{red} 0\\
            \hline
			参数个数 & \color{red} 0\\ 
			\hline
			全局Display & \color{red} 4\\
            \hline
			返回地址 & \color{red} \\ 
			\hline
			Old SP & \color{red} 0\\ 
			\hline
	\end{tabular}};	
	\node [below=0.5em of VALL-S] {S的活动记录(1层)};

    \node at ([xshift=6em,yshift=-6em]VALL-S.east) (VALL-P) {
		\begin{tabular}{|C{5.4em}|C{0.8em}|}
			\hline
            & \color{red} $x$\\
            \hline
			局部变量 & \color{red} $a$\\ 
            \hline
            Display表 & \color{red} 0\\
            \hline
			参数个数 & \color{red} 0\\ 
			\hline
			全局Display & \color{red} 0\\
            \hline
			返回地址 & \\ 
			\hline
			Old SP & \color{red} 0\\ 
			\hline
	\end{tabular}};	
	\node [below=0.5em of VALL-P] {P的活动记录(0层)};

    \node (34) at ([xshift=-0.5em,yshift=5.9em]VALL-R.west) {\color{blue} \small 58-61};
    \node (33) at ([xshift=-0.5em,yshift=4.6em]VALL-R.west) {\color{blue} \small 54-57};
    \node (32) at ([xshift=-0.5em,yshift=3.3em]VALL-R.west) {\color{blue}53};
    \node (31) at ([xshift=-0.5em,yshift=2.0em]VALL-R.west) {\color{blue}52};
    \node (30) at ([xshift=-0.5em,yshift=0.7em]VALL-R.west) {\color{blue}51};
    \node (29) at ([xshift=-0.5em,yshift=-0.4em]VALL-R.west) {\color{blue}\small 49-50};
    \node (28) at ([xshift=-0.5em,yshift=-1.6em]VALL-R.west) {\color{blue}\small 45-48};
	\node (27) at ([xshift=-0.5em,yshift=-2.9em]VALL-R.west) {\color{blue}44};
	\node (26) at ([xshift=-0.5em,yshift=-4.2em]VALL-R.west) {\color{blue}43};
	\node (25) at ([xshift=-0.5em,yshift=-5.4em]VALL-R.west) {\color{blue}42};
	\node (24) at ([xshift=-0.5em,yshift=-6.6em]VALL-R.west) {\color{blue}41};
    \node (23) at ([xshift=-0.5em,yshift=4.0em]VALL-Q.west) {\color{blue} \small 37-40};
    \node (22) at ([xshift=-0.5em,yshift=2.7em]VALL-Q.west) {\color{blue} 36};
    \node (21) at ([xshift=-0.5em,yshift=1.4em]VALL-Q.west) {\color{blue} 35};
    \node (20) at ([xshift=-0.5em,yshift=0.2em]VALL-Q.west) {\color{blue} \small 31-34};
	\node (19) at ([xshift=-0.5em,yshift=-1.1em]VALL-Q.west) {\color{blue} 30};
	\node (18) at ([xshift=-0.5em,yshift=-2.3em]VALL-Q.west) {\color{blue} 29};
	\node (17) at ([xshift=-0.5em,yshift=-3.5em]VALL-Q.west) {\color{blue} 28};
	\node (16) at ([xshift=-0.5em,yshift=-4.8em]VALL-Q.west) {\color{blue} 27};
    \node (14) at ([xshift=-0.5em,yshift=3.98em]VALL-S.west) {\color{blue} \small 23-26};
    \node (13) at ([xshift=-0.5em,yshift=2.8em]VALL-S.west) {\color{blue} \small 19-22};
    \node (12) at ([xshift=-0.5em,yshift=1.4em]VALL-S.west) {\color{blue} 18};
    \node (11) at ([xshift=-0.5em,yshift=0.1em]VALL-S.west) {\color{blue} 17};
	\node (10) at ([xshift=-0.5em,yshift=-1.1em]VALL-S.west) {\color{blue} 16};
	\node (9) at ([xshift=-0.5em,yshift=-2.3em]VALL-S.west) {\color{blue} 15};
	\node (8) at ([xshift=-0.5em,yshift=-3.5em]VALL-S.west) {\color{blue} 14};
	\node (7) at ([xshift=-0.5em,yshift=-4.7em]VALL-S.west) {\color{blue} 13};
    \node (6) at ([xshift=-0.5em,yshift=3.4em]VALL-P.west) {\color{blue} \small 9-12};
    \node (5) at ([xshift=-0.5em,yshift=2.1em]VALL-P.west) {\color{blue} \small 5-8};
    \node (4) at ([xshift=-0.5em,yshift=0.8em]VALL-P.west) {\color{blue} 4};
	\node (3) at ([xshift=-0.5em,yshift=-0.4em]VALL-P.west) {\color{blue} 3};
	\node (2) at ([xshift=-0.5em,yshift=-1.6em]VALL-P.west) {\color{blue} 2};
	\node (1) at ([xshift=-0.5em,yshift=-2.8em]VALL-P.west) {\color{blue} 1};
	\node (0) at ([xshift=-0.5em,yshift=-4.1em]VALL-P.west) {\color{blue} 0};

    \node(tip1)[draw,fill=gray!20,inner sep=0.5em,rectangle callout,callout relative pointer={(-1.5,-0.8)},rounded corners = 0.3em,align=center] at ([xshift=3em,yshift=7.25em]VALL-R.east) {$u$-(2,4) \\ $v$-(2,8) \\ $c$-(2,15) \\ $d$-(2,19)};
    \node(tip2)[draw,fill=gray!20,inner sep=0.5em,rectangle callout,callout relative pointer={(-1.5,-0.8)},rounded corners = 0.3em,align=center] at ([xshift=1.5em,yshift=6.5em]VALL-Q.east) {$b$-(1,4) \\ $i$-(1,10)};

    \node(tip3)[draw,fill=gray!20,inner sep=0.5em,rectangle callout,callout relative pointer={(-1.5,-0.8)},rounded corners = 0.3em,align=center] at ([xshift=0em,yshift=6.5em]VALL-S.east) {$c$-(1,6) \\ $i$-(1,10)};

    \node(tip4)[draw,fill=gray!20,inner sep=0.5em,rectangle callout,callout relative pointer={(-1.5,-0.8)},rounded corners = 0.3em,align=center] at ([xshift=-1.5em,yshift=5.85em]VALL-P.east) {$a$-(0,5) \\ $x$-(0,9)};

\end{tikzpicture}